WPGraphQL\Server\ValidationRules\QueryDepth S

Total Complexity 21
Dependencies 10
Dependents 1
Total lines 156
Lines of code 71
Logical lines of code 38
Comment lines 62
Methods 8
Properties 1

Methods 8

Method Rating Maintainability Complexity Lines of code
nodeDepth()
S
54 7 22
fieldDepth()
S
66 4 8
isEnabled()
S
65 4 8
getVisitor()
S
58 2 18
__construct()
S
72 1 5
getMaxQueryDepth()
S
82 1 3
setMaxQueryDepth()
S
75 1 4
errorMessage()
S
79 1 3